<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::any('/', 'Admin\LoginController@index');

Route::any('admin/index', 'Admin\IndexController@index');
Route::any('admin/index/main', 'Admin\IndexController@main');
Route::any('admin/index/pass', 'Admin\IndexController@pass');
Route::any('admin/config/index', 'Admin\ConfigController@index');
Route::any('admin/log/index', 'Admin\LogController@index');

Route::any('login/out', 'Admin\LoginController@out');


Route::any('/test', function(){
    dd(DB::select('select version() as ver'));
});